package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Orders;


public interface OrderService extends IService<Orders> {
    /**
     * 用户下单
     * @param orders
     */
    public void sumbit(Orders orders);

    /**
     *  订单明细
     * @param page
     * @param pageSize
     * @param number
     * @param startTime
     * @param endTime
     */
    public Page orderDetail(int page, int pageSize, String number, String startTime, String endTime);

    /**
     * 手机端历史订单
     * @param page
     * @param pageSize
     * @param number
     */
    public Page orderPage(int page, int pageSize, String number);
}
